package com.lanou3g.demo.entity;

import java.sql.Date;
import java.util.List;

public class OrderEntity {

    private String  oid;
    private Date ordertime;
    private double total;
    private int state;
    private String uid;
    private String adress;
    private List<OrderItemEntity> orderItemList;

    public OrderEntity() {
    }



    public OrderEntity(String oid, Date ordertime, double total, int state, String uid, String adress, List<OrderItemEntity> orderItemList) {
        this.oid = oid;
        this.ordertime = ordertime;
        this.total = total;
        this.state = state;
        this.uid = uid;
        this.adress = adress;
        this.orderItemList = orderItemList;
    }

    public List<OrderItemEntity> getOrderItemList() {
        return orderItemList;
    }

    public void setOrderItemList(List<OrderItemEntity> orderItemList) {
        this.orderItemList = orderItemList;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }
}
